package com.example.blemulticondemo.bean;

/**
 * @author linvisf
 * @date 2024/8/6.
 * description：
 */
public class SerialPortPackage {

    private byte cmd;
    private byte cmdSub;
    private byte sourceUnit;
    private byte descUnit;
    private byte result;
    private Object data;

    public byte getCmd() {
        return cmd;
    }

    public void setCmd(byte cmd) {
        this.cmd = cmd;
    }

    public byte getCmdSub() {
        return cmdSub;
    }

    public void setCmdSub(byte cmdSub) {
        this.cmdSub = cmdSub;
    }

    public byte getSourceUnit() {
        return sourceUnit;
    }

    public void setSourceUnit(byte sourceUnit) {
        this.sourceUnit = sourceUnit;
    }

    public byte getDescUnit() {
        return descUnit;
    }

    public void setDescUnit(byte descUnit) {
        this.descUnit = descUnit;
    }

    public byte getResult() {
        return result;
    }

    public void setResult(byte result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
